<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$this->load->view('admin/header');
$this->load->view('admin/menu');
?>
<div class="main">
    <div class="body body-950">
        <?php $this->load->view('admin/notify'); ?>
		<div class="container typecho-page-title">
				<div class="column-24 start-01">
					<h2><?php echo $page_title;?></h2>
					<p><?php echo anchor(site_url(),'查看我的站点');?></p>
				</div>
		</div>
		<div class="container typecho-page-main">
            <div class="column-22 start-02">
                <form action="" method="post" enctype="application/x-www-form-urlencoded">

<ul class="typecho-option" id="typecho-option-item-mail-1">
				<li>
				<label class="typecho-label" for="mail-0-2">
				
				栏目*</label>
				<input id="mail-0-2" name="title" type="text" class="text" value="<?php echo set_value('title',(isset($title))?$title:''); ?>"/>
				<p class="description">
				栏目.<br />
				        栏目1综合2友情.</p>
				<?php echo form_error('title', '<p class="message error">', '</p>'); ?>
				</li>
				</ul>
				
				
				<ul class="typecho-option" id="typecho-option-item-mail-1">
				<li>
				<label class="typecho-label" for="mail-0-2">
				
				栏目*</label>
				<input id="mail-0-2" name="type" type="text" class="text" value="<?php echo set_value('type',(isset($type))?$type:''); ?>"/>
				<p class="description">
				栏目.<br />
				        栏目1综合2友情.</p>
				<?php echo form_error('type', '<p class="message error">', '</p>'); ?>
				</li>
				</ul>
				<ul class="typecho-option" id="typecho-option-item-screenName-2">
				<li>
				<label class="typecho-label" for="screenName-0-3">
				排序</label>
				<input id="screenName-0-3" name="norder" type="text" class="text" value="<?php echo set_value('norder',(isset($norder))?$norder:''); ?>"/>
				
				<p class="description">&nbsp;</p>
				<?php echo form_error('screenName', '<p class="message error">', '</p>'); ?>
				</li>
				</ul>
	
				<ul class="typecho-option" id="typecho-option-item-url-5">
				
				<li>
				<label class="typecho-label" for="url-0-6">
				链接地址</label>
				<input id="url-0-6" name="url" type="text" class="text" value="<?php echo set_value('url',(isset($url))?$url:''); ?>"/>
				</li>
				</ul>

				<ul class="typecho-option typecho-option-submit">
				<li>
				<button type="submit">
				<?php echo (isset($id) && is_numeric($id))?'编辑用户':'添加用户';?>
				</button>
				</li>
				</ul>
				</form>
				            </div>
				        </div>
				    </div>
				
				</div>


<?php 
$this->load->view('admin/common-js');
$this->load->view('admin/copyright');
$this->load->view('admin/footer');
?>